//
//  NSString+WB.h
//  WhichBank
//
//  Created by h1r0 on 15/9/8.
//  Copyright (c) 2015年 lettai. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (TL)
+ (NSMutableAttributedString *) setCenterLine:(NSString *)textStr;
- (NSString *) pinyin;
- (NSString *) pinyinInitial;
- (CGSize)sizeWithFont:(UIFont *)font maxSize:(CGSize)maxSize;

//判断是否为空
- (BOOL)stringIsEmpty;

+ (NSString *)PXY_jsonPrettyStringEncodedFromDictionary:(NSDictionary *)dictionary;

+ (NSString *)PXY_jsonPrettyStringEncodedFromArray:(NSArray *)array;
+ (NSString *) priceString:(CGFloat) price;
+ (NSArray *)arrayWithJsonString:(NSString *)jsonString;
+ (NSMutableAttributedString *) setCenterLine:(NSString *)textStr;
@end
